<?php defined('BASEPATH') OR exit('No direct script access allowed');

// Code here is run before frontend controllers
class Public_Controller extends MY_Controller {
	public function Public_Controller()	{
		parent::__construct();
		
		//Use Parser for the layout and loaded views
		//Load Templates
		$this->template->set_theme(DEFAULT_THEME)
			 	   ->set_partial('header', 'partials/header_public.html')
	 			   ->set_partial('footer', 'partials/footer.html')
				   ->set_layout('default.html');
				   
	}
}
